#include <list>
#include "Flight.h"

#ifndef SCHEDULE
#define SCHEDULE

class Schedule
{
public:
	std::list <Flight> *dailyFlightsArrival;
	std::list <Flight> *weeklyFlightsArrival;
	std::list <Flight> *oneTimeFlightsArrival;
	std::list <Flight> *dailyFlightsDeparture;
	std::list <Flight> *weeklyFlightsDeparture;
	std::list <Flight> *oneTimeFlightsDeparture;

	Schedule(void);
	~Schedule(void);
	void AddDailyFlight (Flight);
	void DeleteDailyFlight (Flight);
	void ModifyDailyFlight (Flight, Flight);
	void AddWeeklyFlight (Flight);
	void DeleteWeeklyFlight (Flight);
	void ModifyWeeklyFlight (Flight, Flight);
	void AddOneTimeFlight (Flight);
	void DeleteOneTimeFlight (Flight);
	void ModifyOneTimeFlight (Flight, Flight);
	void insertInOrderDeparture (std::list<Flight>*,Flight);
	void insertInOrderArrival (std::list<Flight>*,Flight);
	int deleteSpecific (std::list<Flight>*,Flight);
	std::list<Flight>* getOneTimeInFlights();
	std::list<Flight>* getDailyInFlights();
	std::list<Flight>* getWeeklyInFlights();
	std::list<Flight>* getOneTimeOutFlights();
	std::list<Flight>* getDailyOutFlights();
	std::list<Flight>* getWeeklyOutFlights();
};
#endif
